import Layout from '@/layout'

const frontManage = [{
    path: '/frontManage',
    component: Layout,
    // redirect: '/example/list',
    name: 'frontManage',
    meta: { title: '前台管理', icon: 'guide' },
    children: [{
      path: '/frontManage/ad',
      component: () => import('@/views/frontManage/ad/index'),
      name: 'ad',
      meta: { title: '广告图片' }
    }, {
        path: '/goodsType',
        component: () => import('@/views/frontManage/goodsType/index'),
        name: 'goodsType',
        meta: { title: '商品分类' }
    }, {
        path: '/frontManage/homefloor',
        component: () => import('@/views/frontManage/homefloor/index'),
        name: 'homefloor',
        meta: { title: '首页楼层' }
    },  {
        path: '/frontManage/newsquery',
        component: () => import('@/views/frontManage/newsquery/index'),
        name: 'newsquery',
        meta: { title: '消息查询' }
    }, {
        path: '/frontManage/complaint',
        component: () => import('@/views/frontManage/complaint/index'),
        name: 'complaint',
        meta: { title: '药店投诉信息' }
    }, {
        path: '/brandmanage',
        component: () => import('@/views/frontManage/brandmanage/index'),
        name: 'brandmanage',
        meta: { title: '品牌管理' }
      },{
        path: '/frontManage/helpcore',
        component: () => import('@/views/frontManage/helpcore/index'),
        name: 'helpcore',
        meta: { title: '帮助中心' }
      },
      {
        path: '/frontManage/newsmodular',
        component: () => import('@/views/frontManage/newsmodular/index'),
        name: 'newsmodular',
        meta: { title: '消息模块管理' }
      },
      {
        path: '/frontManage/newspush',
        component: () => import('@/views/frontManage/newspush/index'),
        name: 'newspush',
        meta: { title: '消息推送' }
      },
      {
        path: '/frontManage/complaintList',
        component: () => import('@/views/frontManage/complaintList/index'),
        name: 'complaintList',
        meta: { title: '投诉信息处理列表' }
      },
      {
        path: '/frontManage/article',
        component: () => import('@/views/frontManage/article/index'),
        name: 'article',
        meta: { title: '文章' }
      },
    ]
  }]

export default frontManage
